﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<Framework.Mvc.AdvertisingCreateViewModel>" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>大喜结婚网后台管理-商家分组下的广告创建</title>
    <link href="../../Content/Admin.css" rel="stylesheet" type="text/css" />
    <script src="../../Scripts/jquery-1.4.2.min.js" type="text/javascript"></script>
    <script src="../../Scripts/FileUpload/fileuploader.js" type="text/javascript"></script>
    <script src="../../Scripts/FileUpload/loadupload.js" type="text/javascript"></script>
    <link href="../../Scripts/FileUpload/fileuploader.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td>
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td height="57" background="../../images/main_03.gif">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td width="353" height="57">
                                        <img src="../../images/main_01.gif" width="327" height="57" />
                                    </td>
                                    <td>
                                        &nbsp;
                                    </td>
                                    <td width="281" valign="bottom">
                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                                <td width="33" height="27">
                                                    <img src="../../images/main_05.gif" width="33" height="27" />
                                                </td>
                                                <td width="248" background="../../images/main_06.gif">
                                                    <table width="225" border="0" align="center" cellpadding="0" cellspacing="0">
                                                        <tr>
                                                            <td height="17">
                                                                <div align="right">
                                                                    <a href="#">
                                                                        <img src="../../images/pass.gif" width="69" height="17" border="0" /></a></div>
                                                            </td>
                                                            <td>
                                                                <div align="right">
                                                                    <a href="#">
                                                                        <img src="../../images/user.gif" width="69" height="17" border="0" /></a></div>
                                                            </td>
                                                            <td>
                                                                <div align="right">
                                                                    <a href="#">
                                                                        <img src="../../images/quit.gif" width="69" height="17" border="0" /></a></div>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td height="40" background="../../images/main_10.gif">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td width="96" height="40" background="../../images/main_07.gif">
                                        &nbsp;
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td height="30" background="../../images/main_31.gif">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td width="8" height="30">
                                        <img src="../../images/main_28.gif" width="8" height="30" />
                                    </td>
                                    <td width="147" background="../../images/main_29.gif">
                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                                <td width="24%">
                                                    &nbsp;
                                                </td>
                                                <td width="43%" height="20" valign="bottom" class="STYLE1">
                                                    管理菜单
                                                </td>
                                                <td width="33%">
                                                    &nbsp;
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                    <td width="39">
                                        <img src="../../images/main_30.gif" width="39" height="30" />
                                    </td>
                                    <td>
                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                                <td height="20" valign="bottom">
                                                    <span class="STYLE1">当前登录用户：admin &nbsp;用户角色：管理员</span>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                    <td width="17">
                                        <img src="../../images/main_32.gif" width="17" height="30" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <table width="100%" height="80%" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td width="8" background="../../images/main_28.gif">
                &nbsp;
            </td>
            <td width="147" valign="top">
                <table width="147" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                        <td height="23" background="../../images/main_34.gif">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td width="9%">
                                        &nbsp;
                                    </td>
                                    <td width="83%">
                                        <div align="center" class="STYLE5">
                                            系统管理</div>
                                    </td>
                                    <td width="8%">
                                        &nbsp;
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td valign="top">
                            <table width="147" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td valign="top">
                                        <div align="center">
                                            <table width="82%" border="0" align="center" cellpadding="0" cellspacing="7">
                                                <tr>
                                                    <td>
                                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                            <tr>
                                                                <td width="33" height="28">
                                                                    <img src="../../images/main_52.gif" width="28" height="28" alt="" />
                                                                </td>
                                                                <td width="99">
                                                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                                        <tr>
                                                                            <td height="23" class="STYLE4" style="cursor: hand" onmouseover="this.style.backgroundImage='url(images/tab_bg.gif)';this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#adb9c2'; "
                                                                                onmouseout="this.style.backgroundImage='url()';this.style.borderStyle='none'">
                                                                                <frame name="main" marginwidth="0" marginheight="0" src="right.html">
                                                                    <%: Html.ActionLink("商家管理", "List","AgencyManager") %>
                                                                                </FRAMESET>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td height="38">
                                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                            <tr>
                                                                <td width="33" height="28">
                                                                    <img src="../../images/main_46.gif" width="28" height="28" alt="" />
                                                                </td>
                                                                <td width="99">
                                                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                                        <tr>
                                                                            <td height="23" class="STYLE4" style="cursor: hand" onmouseover="this.style.backgroundImage='url(images/tab_bg.gif)';this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#adb9c2'; "
                                                                                onmouseout="this.style.backgroundImage='url()';this.style.borderStyle='none'">
                                                                                <%: Html.ActionLink("分类管理", "ArticleCategory", "Admin")%>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td height="38">
                                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                            <tr>
                                                                <td width="33" height="28">
                                                                    <img src="../../images/main_50.gif" width="28" height="28" alt="" />
                                                                </td>
                                                                <td width="99">
                                                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                                        <tr>
                                                                            <td height="23" class="STYLE4" style="cursor: hand" onmouseover="this.style.backgroundImage='url(images/tab_bg.gif)';this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#adb9c2'; "
                                                                                onmouseout="this.style.backgroundImage='url()';this.style.borderStyle='none'">
                                                                                <%: Html.ActionLink("文章管理","List", "Article") %>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td height="38">
                                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                            <tr>
                                                                <td width="33" height="28">
                                                                    <img src="../../images/main_40.gif" width="28" height="28" alt="" />
                                                                </td>
                                                                <td width="99">
                                                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                                        <tr>
                                                                            <td height="25" class="STYLE4" style="cursor: hand" onmouseover="this.style.backgroundImage='url(images/tab_bg.gif)';this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#adb9c2'; "
                                                                                onmouseout="this.style.backgroundImage='url()';this.style.borderStyle='none'">
                                                                                <%: Html.ActionLink("广告管理", "List", "Advertising") %>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td height="38">
                                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                            <tr>
                                                                <td width="33" height="28">
                                                                    <img src="../../images/main_40.gif" width="28" height="28" alt="" />
                                                                </td>
                                                                <td width="99">
                                                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                                        <tr>
                                                                            <td height="25" class="STYLE4" style="cursor: hand" onmouseover="this.style.backgroundImage='url(images/tab_bg.gif)';this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#adb9c2'; "
                                                                                onmouseout="this.style.backgroundImage='url()';this.style.borderStyle='none'">
                                                                                <%: Html.ActionLink("友情链接管理", "List", "FriendlyLink")%>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td height="38">
                                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                            <tr>
                                                                <td width="33" height="28">
                                                                    <img src="../../images/main_40.gif" width="28" height="28" alt="" />
                                                                </td>
                                                                <td width="99">
                                                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                                        <tr>
                                                                            <td height="25" class="STYLE4" style="cursor: hand" onmouseover="this.style.backgroundImage='url(images/tab_bg.gif)';this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#adb9c2'; "
                                                                                onmouseout="this.style.backgroundImage='url()';this.style.borderStyle='none'">
                                                                                <%: Html.ActionLink("退出登陆", "Logoff", "Home")%>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td height="19" background="../../images/main_69.gif">
                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                                <td>
                                                    <div align="center">
                                                        <span class="STYLE4">大喜结婚网</span></div>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
            <td width="10" bgcolor="#add2da">
                &nbsp;
            </td>
            <td valign="top">
                <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                        <td height="12" class="STYLE4" style="line-height: 24px;">
                            广告管理
                        </td>
                    </tr>
                    <tr bgcolor="#353C44">
                        <td height="28" class="STYLEfl" style="line-height: 24px;">
                            添加广告
                        </td>
                    </tr>
                    <tr bgcolor="#353C44">
                        <td height="3" bgcolor="#FFFFFF">
                        </td>
                    </tr>
                    <tr>
                        <td valign="top">
                            <table width="100%" border="0" cellpadding="2" cellspacing="1" bgcolor="#a8c7ce">
                                <tr>
                                    <td align="center" valign="middle" bgcolor="#FFFFFF" class="STYLE19">
                                        <%using (Html.BeginForm())
                                          {
                                        %>
                                        <strong>请上传广告图片:</strong>
                                        <div id="uploader">
                                            <noscript>
                                                <p>
                                                    请设置您的浏览器为允许运行Javascript代码以进行文件上传.</p>
                                            </noscript>
                                        </div>
                                    </td>
                                    <td align="center" valign="middle" bgcolor="#FFFFFF" class="STYLE19">
                                        <table width="98%" border="0" cellspacing="6">
                                            <tr>
                                                <td width="8%" valign="bottom" class="STYLE1">
                                                    广告链接地址：
                                                </td>
                                                <td width="92%" align="left">
                                                    <%: Html.TextBoxFor(m => m.Instance.Uri, new { size="65", style="border: #CCCCCC 1px solid;"})%>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="8%" valign="bottom" class="STYLE1">
                                                    广告所属商家分组
                                                </td>
                                                <td width="92%" align="left">
                                                    <%: Html.DropDownListFor(m => m.AgencyGroupIdentity, this.Model.AgencyGroups.Select(s => new SelectListItem { Text = s.Name, Value = s.Id.ToString() }))%><br />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <span class="STYLE1">广告简介：</span>
                                                </td>
                                                <td align="left">
                                                    <%: Html.TextAreaFor(m => m.Instance.Description, new {  cols="50", rows="10", style="border: #CCCCCC 1px solid;"})%>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="40" colspan="2" align="center" valign="middle" bgcolor="#FFFFFF" class="STYLE19">
                                        <table width="100%" border="0" cellpadding="5" cellspacing="0">
                                            <tr>
                                                <td width="45%" align="right">
                                                    <input type="submit" name="Submit" value="提 交" />
                                                </td>
                                                <td width="55%" height="35" align="left">
                                                    <input type="reset" name="Submit" value="取 消" />
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <%
                                          }
                                %>
                            </table>
                        </td>
                        <td height="30">
                            <table width="100%" height="31" border="0" cellpadding="0" cellspacing="0">
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
            <td width="8" bgcolor="#353c44">
                &nbsp;
            </td>
        </tr>
    </table>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td background="../../images/main_71.gif" style="height: 11px; table-layout: fixed"
                width="165" height="11">
                &nbsp;
            </td>
            <td background="../../images/main_72.gif" style="height: 11px; table-layout: fixed">
                &nbsp;
            </td>
            <td background="../../images/main_74.gif" style="height: 11px; table-layout: fixed"
                width="17">
                &nbsp;
            </td>
        </tr>
    </table>
</body>
</html>
